package com.fyl.service;

import com.fyl.entity.Orders;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fyl.entity.User;
import com.fyl.vo.OrdersVO;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 馮永龍
 * @since 2020-11-27
 */
public interface OrdersService extends IService<Orders> {
    Orders creat(String selectAddress, Float cost, User user, String address, String remark);

    List<OrdersVO> getAllByUserId(Integer userId);
}
